<?php
$qqStr = '<script type="text/javascript">function openQq{account}(qq) { let u = navigator.userAgent; if (/(iPhone|iPad|iPod|iOS)/i.test(u) || /(Android)/i.test(u)) { window.open("mqqwpa://im/chat?chat_type=wpa&uin="+qq); } else { window.open("tencent://message/?uin="+qq+"&site=qq&menu=yes"); } }</script>';

return [
    //珑客服
    'long'      => '<script src="https://www.longkefu.net/longkefu.js?ID={account}" type="text/javascript"></script>',
    //腾讯QQ
    'qq'        => "<a href='javascript:;' onclick='openQq{account}({account});'><img border='0' src='https://wpa.qq.com/pa?p=2:{account}:52' />{title}</a>".$qqStr,
    //Skype
    'skype'     => "Skype <a href='skype:{account}?call'>{title}</a>",
    //阿里旺旺
    'wangwang'  => "<a target='_blank' href='https://awp.taobao.com/bs/wwlight.html?ver=3&touid={account}&siteid=cntaobao&status=2&charset=utf-8'><img border='0' src='http://amos.alicdn.com/online.aw?v=2&uid={account}&site=cntaobao&s=2&charset=utf-8' />{title}</a>",
    //电话
    'phone'     => '<a href="tel:{account}">{title}</a>',
    //whatsApp
    'whatsapp'  => '<a target="_blank" href="https://api.whatsapp.com/send?phone={account}"><i class="fa fa-whatsapp fa-2x" style="color: green;" aria-hidden="true"></i> {title}</a>'
];